﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuoYi.Framework.MultiTenant
{
    public interface ITenantStore
    {
        Task<TenantConfiguration?> FindAsync(string normalizedName);

        Task<TenantConfiguration?> FindAsync(Guid id);

        Task<IReadOnlyList<TenantConfiguration>> GetListAsync(bool includeDetails = false);
         
    }
}
